package GUI;

import java.awt.*;
import javax.swing.*;

/**
 * This class creates instance of PerformanceStageGui	
 * to display when needed
 * @author Nofar
 *
 */
public class PerformanceStageGui extends JPanel {

	private static final long serialVersionUID = 1L;
	private JButton canButton;
	private JButton SubButton;
	JCheckBox Completion;

	/**
	 * the constructor
	 */
	public PerformanceStageGui(){
		super();
		SubButton = new JButton("submit");
		canButton = new JButton("cancel");
		Completion = new JCheckBox(" performance Completion");
		initiate();
		}
	/**
	 *  This method initializes the PerformanceStageGui	
	 */
	public void initiate(){
			
	JLabel lblLogInWindow = new JLabel("performance Stage");
	lblLogInWindow.setForeground(Color.BLUE);
	lblLogInWindow.setFont(new Font("Arial Black", Font.BOLD, 17));
	lblLogInWindow.setBounds(138, 35, 308, 50);
	add(lblLogInWindow);
			
	SubButton.setFont(new Font("Arial", Font.PLAIN, 12));
	SubButton.setBounds(284, 218, 122, 40);
	add(SubButton);
			
			
	canButton.setFont(new Font("Arial", Font.PLAIN, 12));
	canButton.setBounds(33, 218, 122, 40);
	add(canButton);
			
	setLayout(null);
	setSize(new Dimension(500, 300));	
	
	Completion.setFont(new Font("Arial", Font.BOLD, 12));
	Completion.setBounds(138, 111, 203, 40);
	add(Completion);
	}
	/**
	 * 	
	 * @return the submit button
	 */
	public JButton getSubButton(){
		return SubButton;
	}
	/**
	 * 	
	 * @return  the cancel button
	 */
	public JButton getcanButton(){
		return canButton;
	}
	/**
	 * 	
	 * @return JCheckBox with the mark of completion
	 */
	public JCheckBox getCompletion(){
		return Completion;
	}
}

